package ma.platform.server.student.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SchoolStaticesDto {

    private Long schoolId;

    private String schoolName;

    private Long gradeId;

    private String gradeName;

    private Long classesId;

    private String classesName;

    private Long comboId;

    private String comboName;

    private Long dateComboId;

    private String dateComboName;

    private Integer count;

    private String studentNames;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
}
